import request from '@/utils/request'

// 样式回显
export function getLogo() {
    return request({
        url: '/sys/system/logo/getLogo',
        method: 'get',
    })
}

// 上传图片
export function uploadLogo(data) {
    return request({
        url: '/sys/system/logo/upload',
        method: 'post',
        data: data
    })
}

//保存
export function saveLogo(data) {
    return request({
        url: '/sys/system/logo/save',
        method: 'post',
        data: data
    })
}

//还原默认
export function resetLogo() {
    return request({
        url: '/sys/system/logo/reset',
        method: 'get',
    })
}